package com.x.erp.model;

import java.math.BigDecimal;
import java.util.Date;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;



@MappingTable(tableName = "ERP_CONTRACT_REGION")
public class ContractRegion extends BaseObject {

    @MappingColumn(columnName = "CONTRACT_REGION_ID", columnPk = true, columnLength = 32)
    private String contractRegionId;
    @MappingColumn(columnName = "CONTRACT_ID")
    private String  contractId;
    @MappingTable(tableName = "ERP_CONTRACT")
    private Contract contract;
    @MappingColumn(columnName = "CONTRACT_REGION_RENT_COUNT")
    private Integer contractRegionRentCount;
    @MappingColumn(columnName = "CONTRACT_REGION_RENT_FEE")
    private BigDecimal contractRegionRentFee;
    @MappingColumn(columnName = "CONTRACT_REGION_AMOUNT")
    private BigDecimal contractRegionAmount;
    @MappingColumn(columnName = "CONTRACT_REGION_PARK_COUNT")
    private Integer contractRegionParkCount;
    @MappingColumn(columnName = "CONTRACT_REGION_STATE")
    private Integer contractRegionState;
    @MappingColumn(columnName = "CONTRACT_REGION_CRASH_DATE")
    private Date contractRegionCrashDate;
    @MappingColumn(columnName = "CONTRACT_REGION_CREATE_TIME")
    private Date contractRegionCreateTime;
    @MappingColumn(columnName = "CONTRACT_REGION_UPDATE_TIME")
    private Date contractRegionUpdateTime;
    @MappingColumn(columnName = "CONTRACT_REGION_CAR_NO")
    private String  contractRegionCarNo;
    @MappingColumn(columnName = "REGION_ID")
    private String regionId;
    @MappingTable(tableName = "ERP_REGION")
    private Region region;


    public String getContractRegionId() {
        return contractRegionId;
    }

    public void setContractRegionId(String contractRegionId) {
        this.contractRegionId = contractRegionId;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public Integer getContractRegionRentCount() {
        return contractRegionRentCount;
    }

    public void setContractRegionRentCount(Integer contractRegionRentCount) {
        this.contractRegionRentCount = contractRegionRentCount;
    }

    public BigDecimal getContractRegionRentFee() {
        return contractRegionRentFee;
    }

    public void setContractRegionRentFee(BigDecimal contractRegionRentFee) {
        this.contractRegionRentFee = contractRegionRentFee;
    }

    public BigDecimal getContractRegionAmount() {
        return contractRegionAmount;
    }

    public void setContractRegionAmount(BigDecimal contractRegionAmount) {
        this.contractRegionAmount = contractRegionAmount;
    }

    public Integer getContractRegionParkCount() {
        return contractRegionParkCount;
    }

    public void setContractRegionParkCount(Integer contractRegionParkCount) {
        this.contractRegionParkCount = contractRegionParkCount;
    }

    public Integer getContractRegionState() {
        return contractRegionState;
    }

    public void setContractRegionState(Integer contractRegionState) {
        this.contractRegionState = contractRegionState;
    }

    public Date getContractRegionCrashDate() {
        return contractRegionCrashDate;
    }

    public void setContractRegionCrashDate(Date contractRegionCrashDate) {
        this.contractRegionCrashDate = contractRegionCrashDate;
    }

    public Date getContractRegionCreateTime() {
        return contractRegionCreateTime;
    }

    public void setContractRegionCreateTime(Date contractRegionCreateTime) {
        this.contractRegionCreateTime = contractRegionCreateTime;
    }

    public Date getContractRegionUpdateTime() {
        return contractRegionUpdateTime;
    }

    public void setContractRegionUpdateTime(Date contractRegionUpdateTime) {
        this.contractRegionUpdateTime = contractRegionUpdateTime;
    }

    public String getContractRegionCarNo() {
        return contractRegionCarNo;
    }

    public void setContractRegionCarNo(String contractRegionCarNo) {
        this.contractRegionCarNo = contractRegionCarNo;
    }

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public Contract getContract() {
        return contract;
    }

    public void setContract(Contract contract) {
        this.contract = contract;
    }

    public Region getRegion() {
        return region;
    }

    public void setRegion(Region region) {
        this.region = region;
    }
}
